You missed the input selector in bind event using on(). jQuery(document).on('focus click', 'input', function(e){ console.log("focused on " + ... ... <看更多>
Your formatting made me twitch, so I fixed it up for you. Drupal JS Coding Standards. Also you weren't using a behavior, so I fixed that too:. ... <看更多>